package com.jianguozh.difs.framework.validator;

import java.lang.annotation.*;

/**
 * 指定column唯一
 *
 * @author hanrs
 * @email 40736130@qq.com
 * @since 2022/4/23 3:38 PM
 */
@Documented
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface UniqueColumn {

    /**
     * @return 校验失败信息
     */
    String message() default "";
}
